﻿using System;
using System.Collections.Generic;

namespace Model.Common
{
    /// <summary>
    /// 文件基本信息类
    /// </summary>
  public   class FILEINFO
    {
      public FILEINFO() { }

        #region 基本属性
      private string _name=string .Empty ;
      private string _path=string.Empty ;
      private long _zise=0;
      private string _ext=string.Empty ;
      private List<FILEINFO> _fileextinfo;
      private DateTime _modify = DateTime.Now;

      /// <summary>
      /// 文件名称
      /// </summary>
      public string NAME {
          set { _name = value; }
          get { return _name; }         
      }
      /// <summary>
      /// 文件路径
      /// </summary>
      public string PATH
      {
          set { _path = value; }
          get { return _path; }
      }
      /// <summary>
      /// 文件大小
      /// </summary>
      public long ZISE
      {
          set { _zise = value; }
          get { return _zise; }
      }
      /// <summary>
      /// 文件拓展名
      /// </summary>
      public string EXT
      {
          set { _ext = value; }
          get { return _ext; }
      }
      ///// <summary>
      ///// 文件文件宽(主要针对图片文件)
      ///// </summary>
      //public Int32  WIDTH
      //{
      //    set { _width = value; }
      //    get { return _width; }
      //}
      ///// <summary>
      ///// 文件高(主要针对图片文件)
      ///// </summary>
      //public Int32  HEIGHT
      //{
      //    set { _height = value; }
      //    get { return _height; }
      //}
      /// <summary>
      /// 文件最后修改时间
      /// </summary>
      public List<FILEINFO> FILEEXTINFO
      {
          set { _fileextinfo = value; }
          get { return _fileextinfo; }
      }
      /// <summary>
      /// 文件最后修改时间
      /// </summary>
      public DateTime MODIFY
      {
          set { _modify = value; }
          get { return _modify; }
      }
        #endregion
    }
}
